package com.health.mapper;

import com.github.pagehelper.Page;
import com.health.domain.CheckItem;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface CheckitemMapper {

    /**
     * 条件查询
     * @param queryString
     * @return
     */
    Page<CheckItem> findCondition(String queryString);

    CheckItem findById(@Param("id") Integer id);

    void updateById(@Param("checkItem") CheckItem checkItem);

    List<CheckItem> findAll();

}
